package com.shou.lifecollege.modules.common.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;
import java.util.List;

/**
 * 用户类
 * @Author: luotian
 * @Date: 2022/10/8 16:02
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("sys_usr")
public class SysUser {
    @TableId
    private String usrid;
    private String usrname;
    private String password;
    private String openid;
    private String email;
    private String usrphone;
    private String classid;
    private String schoolid;
    private String signlang;
    private Timestamp regDate;
    private int usrstatus;
    private int delflag;
    @TableField(exist = false)
    private List<SysRole> roleList;
}
